import React from 'react'
import './Hero.css';
import axios from 'axios';
import { useEffect } from 'react';
import { useState } from 'react';
import Search from './Search';
import HeroList from './HeroList';

export default function Hero() {

  return (
    <div className="hero-container">
      <h1>英雄列表</h1>
      <hr />
      <Search  />
      <hr />
      <HeroList  />
    </div>
  )
}
